package com.kefu.call.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value="call_voicemail")
@ApiModel(description = "呼入留言表")
public class CallVoiceMail implements Serializable {

    @TableId(value="uuid")
    @ApiModelProperty(value = "通话id")
    private String uuid;

    @TableField(value="ani")
    @ApiModelProperty(value = "主叫")
    private String ani;

    @TableField(value="des")
    @ApiModelProperty(value = "被叫")
    private String des;

    @TableField(value="createTime")
    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @TableField(value="endTime")
    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @TableField(value="fileName")
    @ApiModelProperty(value = "录音地址")
    private String fileName;


    @TableField(value = "tenant_id")
    @ApiModelProperty(value = "租户")
    private String tenantId;

    @TableField(value = "customer_phone")
    @ApiModelProperty(value = "客户电话")
    private String customerPhone;


    @TableField(value = "update_user")
    @ApiModelProperty(value = "更新人")
    private String updateUser;

    @ApiModelProperty(value = "更新人")
    @TableField(exist=false)
    private String updateUserName;

    @TableField(value = "msg_state")
    @ApiModelProperty(value = "留言状态 0=未处理，1=已处理")
    private Integer msgState;

    @TableField(value = "msg_type")
    @ApiModelProperty(value = "留言类型 0=无效留言，1=有效留言")
    private Integer msgType;

    @TableField(value = "msg_desc")
    @ApiModelProperty(value = "备注")
    private String msgDesc;


    private static final long serialVersionUID = 1L;
}
